﻿using Nop.Web.Framework;
using Nop.Web.Framework.Mvc;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Mvc;

namespace Spotshub.Plugin.Payments.GlobalPayments.Models
{
    public class ProfileModel : BaseNopEntityModel
    {
        public ProfileModel()
        {
            AvailableStores = new List<SelectListItem>();
        }

        public IList<SelectListItem> AvailableStores { get; set; }

        [NopResourceDisplayName("Plugins.Payments.GlobalPayments.Fields.ProfileId")]
        public string ProfileId { get; set; }

        [NopResourceDisplayName("Plugins.Payments.GlobalPayments.Fields.ApiToken")]
        public string ApiToken { get; set; }

        [NopResourceDisplayName("Plugins.Payments.GlobalPayments.Fields.Type")]
        public int Type { get; set; }

        [NopResourceDisplayName("Plugins.Payments.GlobalPayments.Fields.Store")]
        public string Store { get; set; }

        public int StoreId { get; set; }
    }


    //public class ProfileConfigModel : BaseNopModel
    //{
    //    public ProfileConfigModel()
    //    {
            
    //        Profiles = new List<ProfileModel>();
    //    }

        

    //    public IList<ProfileModel> Profiles { get; set; }

    //    #region Nested Class

        

    //    #endregion
    //}
}
